<h1>New User</h1>
<%=form_for @user do |f|%>

	<% if @user.errors.any? %>
	<ul>
		<% @user.errors.full_messages.each do |msg| %>
			<li><%= msg %></li>
		<% end %>
	</ul>
	<% end %>

	<%= f.label :login%>
	<%= f.text_field :login%>
	
	<%= f.label :password%>
	<%= f.text_field :password%>
	
	<%= f.label :tipo%>
	<%= f.text_field :tipo%>
	
	<button>Create!</button>

<% end %>